import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgZorroAntdModule } from 'ng-zorro-antd';

import { SharedModule } from '../shared';

import { AccountsRoutingModule } from './accounts-routing.module';
import {
  components,
  NewUserFormComponent,
  EditUserFormComponent,
  ChangePasswordComponent
} from './components';
import { services } from './services';
import { AccountsComponent } from './accounts.component';


@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    NgZorroAntdModule,
    SharedModule,
    AccountsRoutingModule
  ],
  declarations: [ AccountsComponent, ...components ],
  entryComponents: [
    NewUserFormComponent,
    EditUserFormComponent,
    ChangePasswordComponent
  ],
  providers: [ ...services ]
})
export class AccountsModule { }
